package homework;

import java.util.Scanner;

public class test1 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.print("请输入第一个整数：");
        int a = scan.nextInt();
        System.out.print("请输入第二个整数：");
        int b = scan.nextInt();
        System.out.print("请输入第三个整数：");
        int c = scan.nextInt();
        if (a < b && a < c) {
            System.out.println("最小值："+a);
        } else if (b < a && b < c) {
            System.out.println("最小值：" + b);
        } else {
            System.out.println("最小值：" + c);
        }

    }

}
